package com.xhb.campusservices.pojo.orderDto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xhb.campusservices.enums.OrderState;
import lombok.Data;

import java.util.Date;

/**
 * 管理员订单管理
 */
@Data
public class OrderAdmin {
    //订单Id
    private Integer id;

    //任务类型
    private String typeName;

    //任务主题
    private String theme;

    //任务酬劳
    private Double taskReward;

    //发布人
    private String tName;

    //发布人电话
    private String tPhone;

    //发布时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date releaseTime;

    //订单状态
    private OrderState orderstate;

    //跑腿人
    private String oName;

    //跑腿人电话
    private String oPhone;

    //订单时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderTime;

}
